package com.qf.service.impl;

import com.qf.dao.SysRoleMapper;
import com.qf.service.SysRoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Zhengjz
 * @version 1.0
 * @className SysRoleServiceimpl
 * @date 2021/1/27 13:44
 */
@Service
public class SysRoleServiceimpl implements SysRoleService {
    @Autowired
    private SysRoleMapper sysRoleMapper;

    @Override
    public List<String> findRolesByUserId(Long userid) {
        return sysRoleMapper.findRolesByUserId(userid);
    }
}
